import React, { PureComponent } from 'react'
import { ContainerWrapper } from './style/style.js'

export class MainPage extends PureComponent {
  render() {
    return (
      <ContainerWrapper size="50">
        <div className='header'>
          <span>我是头部</span>
        </div>
        <div className='banner-container'>
          <span>我是轮播图</span>
          <div className='btn'>
            <span className='prev'>上一页</span>
            <span className='next'>下一页</span>
          </div>
        </div>
        <div className='footer'>
          <p>我是底部</p>
        </div>
      </ContainerWrapper>
    )
  }
}

export default MainPage